package com.cloudeasy.area.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 区域DTO类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
public class AreaDTO {
    /**
     * 区域名称
     */
    @NotBlank(message = "区域名称不能为空")
    private String name;
    /**
     * 描述
     */
    private String description;
    /**
     * 状态
     */
    private Integer status;
}
